package com.atguigu.queue_02;

import java.util.Collection;
import java.util.Iterator;
import java.util.Queue;

/**
 * Create with Intellij IDEA.
 * Description：
 * User:Zero
 * Date:2021/5/31
 * Time:19:00
 */
public class TestQueue {
    public static void main(String[] args) {
        MyQueue queue = new MyQueue();

    }
}
class MyQueue implements Queue{
    private int rear = -1;
    private int front =-1;
    private int maxSize;
    private int arr[];
    @Override
    public int size() {
        return arr.length;
    }

    @Override
    public boolean isEmpty() {
        return rear==front;
    }

    @Override
    public boolean contains(Object o) {

        return false;
    }

    @Override
    public Iterator iterator() {
        return null;
    }

    @Override
    public Object[] toArray() {
        return new Object[0];
    }

    @Override
    public Object[] toArray(Object[] a) {
        return new Object[0];
    }

    @Override
    public boolean add(Object o) {
        return false;
    }

    @Override
    public boolean remove(Object o) {
        return false;
    }

    @Override
    public boolean addAll(Collection c) {
        return false;
    }

    @Override
    public void clear() {

    }

    @Override
    public boolean retainAll(Collection c) {
        return false;
    }

    @Override
    public boolean removeAll(Collection c) {
        return false;
    }

    @Override
    public boolean containsAll(Collection c) {
        return false;
    }

    @Override
    public boolean offer(Object o) {
        return false;
    }

    @Override
    public Object remove() {
        return null;
    }

    @Override
    public Object poll() {
        return null;
    }

    @Override
    public Object element() {
        return null;
    }

    @Override
    public Object peek() {
        return null;
    }
}
